curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/webhooks \
--header 'x-api-key: <x-api-key>'
{
"data": [
{
"createdAt": "2024-04-23T12:35:45.326Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvcdd8oe000nxz1zhz6q9z3l",
"name": null,
"source": "user",
"surveyIds": [],
"triggers": [
"responseCreated",
"responseUpdated",
"responseFinished"
],
"updatedAt": "2024-04-23T12:35:45.326Z",
"url": "https://eoy8o887lmsqmhz.m.pipedream.net"
},
{
"createdAt": "2024-04-23T12:36:07.100Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvcddph9000oxz1zsnjhvllw",
"name": null,
"source": "user",
"surveyIds": [],
"triggers": [
"responseCreated",
"responseUpdated",
"responseFinished"
],
"updatedAt": "2024-04-23T12:36:07.100Z",
"url": "https://eoy8o887lmsqmhz.m.pipedream.net"
},
{
"createdAt": "2024-04-23T12:36:56.507Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvcderln000pxz1z95jqj0qw",
"name": null,
"source": "user",
"surveyIds": [],
"triggers": [
"responseCreated",
"responseUpdated",
"responseFinished"
],
"updatedAt": "2024-04-23T12:36:56.507Z",
"url": "https://eoy8o887lmsqmhz.m.pipedream.net"
}
]
}
Retrieve a list of all webhooks for the current environment
curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/webhooks \
--header 'x-api-key: <x-api-key>'
{
"data": [
{
"createdAt": "2024-04-23T12:35:45.326Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvcdd8oe000nxz1zhz6q9z3l",
"name": null,
"source": "user",
"surveyIds": [],
"triggers": [
"responseCreated",
"responseUpdated",
"responseFinished"
],
"updatedAt": "2024-04-23T12:35:45.326Z",
"url": "https://eoy8o887lmsqmhz.m.pipedream.net"
},
{
"createdAt": "2024-04-23T12:36:07.100Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvcddph9000oxz1zsnjhvllw",
"name": null,
"source": "user",
"surveyIds": [],
"triggers": [
"responseCreated",
"responseUpdated",
"responseFinished"
],
"updatedAt": "2024-04-23T12:36:07.100Z",
"url": "https://eoy8o887lmsqmhz.m.pipedream.net"
},
{
"createdAt": "2024-04-23T12:36:56.507Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvcderln000pxz1z95jqj0qw",
"name": null,
"source": "user",
"surveyIds": [],
"triggers": [
"responseCreated",
"responseUpdated",
"responseFinished"
],
"updatedAt": "2024-04-23T12:36:56.507Z",
"url": "https://eoy8o887lmsqmhz.m.pipedream.net"
}
]
}
OK
The response is of type object
.
Was this page helpful?